<?php

namespace app\admin\model;

use think\Model;

/**
 * WeacherDeviceData 模型
 * @controllerUrl 'Weacher_device_data'
 */
class WeacherDeviceData extends Model
{
    protected $autoWriteTimestamp = 'int';

    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';


    public function group()
    {
        return $this->belongsTo(UserGroup::class, 'group_id');
    }
}